package com.kgc.travel.mapper;

import com.kgc.travel.pojo.LawRegulation;
import com.kgc.travel.pojo.LawRegulationExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LawRegulationMapper {
    int countByExample(LawRegulationExample example);

    int deleteByExample(LawRegulationExample example);

    int deleteByPrimaryKey(Integer lawId);

    int insert(LawRegulation record);

    int insertSelective(LawRegulation record);

    List<LawRegulation> selectByExample(LawRegulationExample example);

    LawRegulation selectByPrimaryKey(Integer lawId);

    int updateByExampleSelective(@Param("record") LawRegulation record, @Param("example") LawRegulationExample example);

    int updateByExample(@Param("record") LawRegulation record, @Param("example") LawRegulationExample example);

    int updateByPrimaryKeySelective(LawRegulation record);

    int updateByPrimaryKey(LawRegulation record);
}